package Aquarium;

import java.util.ArrayList;

public abstract class Fish
{
	
	
	private String name;
	private String type;
	private boolean eaten = false;
	private boolean hasReproduced = false;


	private final int numberOfPossibleChildren;
	public Fish(int num)
	{
		//This gets ridiculous
//		numberOfPossibleChildren = 1;
		numberOfPossibleChildren = num;
		
	}
	public int getNumberOfPossibleChildren()
	{
		return numberOfPossibleChildren;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getType()
	{
		return type;
	}
	public void setType(String type)
	{
		this.type = type;
	}
	public boolean hasEaten()
	{
		return eaten;
	}
	public void setEaten(boolean eaten)
	{
		this.eaten = eaten;
	}
	
	public boolean HasReproduced() {
		return hasReproduced;
	}
	public void setHasReproduced(boolean hasReproduced) {
		this.hasReproduced = hasReproduced;
	}
	
	abstract public void encounter(Fish f, ArrayList<Fish> world);


}

